package com.bean.vo;

import com.bean.entity.MainGoods;
import com.bean.entity.MaterialClassification;
import com.bean.entity.Specifications;

import java.io.Serializable;
import java.util.List;

public class SupplierVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 材料供应商编号 */
    private long supplierId;
    /* 材料供应商分类编号 */
    private Integer classifyId;
    /* 材料供应商说明 */
    private String instructions;
    /* 材料供应商主营编号 */
    private Integer theMainGood;
    /* 供应商厂名 */
    private String supplierName;
    /* 供应商地址 */
    private String address;
    /* 供应商电话 */
    private long phone;
    /* 主要负责人 */
    private String head;
    /* 主营商品对象 */
    private MaterialClassification mc;
    /* 材料分类对象 */
    private MainGoods mg;
    /* 材料规格信息对象 */
    private List<Specifications> specifications;
    /* 页面大小 */
    private Integer pageSize;
    /* 当前页 */
    private Integer currPage;
    /* 起始记录数 */
    private Integer startCode;

    public SupplierVo() {
    }

    public SupplierVo(long supplierId, Integer classifyId, String instructions, Integer theMainGood, String supplierName, String address, long phone, String head, MaterialClassification mc, MainGoods mg, Integer pageSize, Integer currPage, Integer startCode) {
        this.supplierId = supplierId;
        this.classifyId = classifyId;
        this.instructions = instructions;
        this.theMainGood = theMainGood;
        this.supplierName = supplierName;
        this.address = address;
        this.phone = phone;
        this.head = head;
        this.mc = mc;
        this.mg = mg;
        this.pageSize = pageSize;
        this.currPage = currPage;
        this.startCode = startCode;
    }

    public List<Specifications> getSpecifications() {
        return specifications;
    }

    public void setSpecifications(List<Specifications> specifications) {
        this.specifications = specifications;
    }

    public Integer getStartCode() {
        return startCode;
    }

    public void setStartCode(Integer startCode) {
        this.startCode = startCode;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(long supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
    }

    public String getInstructions() {
        return instructions;
    }

    public void setInstructions(String instructions) {
        this.instructions = instructions;
    }

    public Integer getTheMainGood() {
        return theMainGood;
    }

    public void setTheMainGood(Integer theMainGood) {
        this.theMainGood = theMainGood;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public MaterialClassification getMc() {
        return mc;
    }

    public void setMc(MaterialClassification mc) {
        this.mc = mc;
    }

    public MainGoods getMg() {
        return mg;
    }

    public void setMg(MainGoods mg) {
        this.mg = mg;
    }
}
